{include file="public/layout" /}
<div class="cl pd-5 bg-1 bk-gray mt-20">
	<span class="l"><a class="back" href="javascript:history.back();" title="返回列表"><img src="/public/h-ui.admin/images/back.png" width="30" height="30"></a></span>
</div>
{if isset($info) }
<div class="pd-20" style="margin-top: 1rem;">
	<table class="table">
		<tbody>
            <tr>
            <th class="text-r" width="80">头像：</th>
			{if isset($info.head_ico)}
				<td><img class="avatar size-XL l" src="{$info.head_ico}"></td>
			{else /}
				<td><img class="avatar size-XL l" src="/public/static/images/head_ico.jpg"></td>
		    {/if}
		    </tr>
			<tr>
				<th class="text-r" width="80">性别：</th>
				{if $info.gender == 1}
				<td>男</td>
				{else /}
				<td>女</td>
			    {/if}
			</tr>
			<tr>
				<th class="text-r">账户余额：</th>
				<td>{$info.user_money}</td>
			</tr>
			<tr>
				<th class="text-r">ccq：</th>
				<td>{$info.ccq}</td>
			</tr>
			<tr>
				<th class="text-r">会员等级：</th>
				<td>
					{switch $info.user_level}
					    {case 1}黄金{/case}
					    {case 2}铂金{/case}
					    {default /}钻石
					{/switch}
				</td>
			</tr>
			<tr>
				<th class="text-r">手机：</th>
				<td>{$info.mobile}</td>
			</tr>
			<tr>
				<th class="text-r">邮箱：</th>
				<td>{if isset($info.email)} {$info.email} {/if}</td>
			</tr>
			<tr>
				<th class="text-r">注册时间：</th>
				<td>{$info.reg_time|date="Y-m-d H:i:s"}</td>
			</tr>
		</tbody>
	</table>
</div>
	{else /}
	<div style="text-align: center; color: #ccccccc; margin-top: 1rem; font-weight: bold;">暂无数据</div>
{/if}
{include file="public/footer" /}
</body>
</html>